"use strict";
const common_request = require("./request.js");
function login(data) {
  return common_request.service({
    url: "/visitor/auth/login",
    method: "POST",
    data
  });
}
function getConsultants(data) {
  return common_request.service({
    url: "/consultants",
    method: "GET",
    data
  });
}
function getVisitorProfile_id(id) {
  return common_request.service({
    url: "/visitors/" + id + "/profile",
    method: "GET"
  });
}
function putVisitorProfile_id(id, data) {
  return common_request.service({
    url: "/visitors/" + id + "/profile",
    method: "PUT",
    data
  });
}
function getConsultant_id(id) {
  return common_request.service({
    url: "/consultants/" + id + "/profile",
    method: "GET"
  });
}
function getConsultantComment_id(id, data) {
  return common_request.service({
    url: "/consultants/" + id + "/comments",
    method: "GET",
    data
  });
}
function putPsychArchive(id, data) {
  return common_request.service({
    url: "/visitors/" + id + "/psych-archive",
    method: "PUT",
    data
  });
}
exports.getConsultantComment_id = getConsultantComment_id;
exports.getConsultant_id = getConsultant_id;
exports.getConsultants = getConsultants;
exports.getVisitorProfile_id = getVisitorProfile_id;
exports.login = login;
exports.putPsychArchive = putPsychArchive;
exports.putVisitorProfile_id = putVisitorProfile_id;
